body{
	background-color: #ecf0f3;
}
.logo{
		margin-left: 50px;
		cursor: pointer;
}
.bg{
	height: 600px;
	background-color: #8BC6EC;
	background-image: linear-gradient(135deg, #8BC6EC 0%, #9599E2 100%);
	background-size:cover;
}

.photo{
	margin-left: 15px;
	text-decoration: none;
	color: #000;
	font-size: 30px;
}
.photo:hover{
	color: #000;
	text-decoration: none;
}



.welcome{
	display: flex;
	justify-content: center;
	align-items: flex-start;
	flex-direction: column;
	
}

.welcome .comment{
	text-indent:2em;
	text-align: start;
	font-size: 12px;
}


.form{  
	padding: 0px;
	height: 450px;
	margin-top: 60px;
	border-radius: 15px;
	box-shadow: 10px 10px 10px rgb(138,149,217);
	background-color: #ecf0f3;
	overflow:hidden;
}

.main{
	display:flex;
	flex-direction: column;
	align-items: center;
	justify-content: space-between;
	height: 100%;
	width: 100%;
	overflow:hidden;
}

.switch{
	height: 50px;
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: bold;
	color: rgb(52,52,52);
	cursor: pointer;
	transition: 300ms;
	box-shadow: 0 0 15px rgb(220,220,220);
	transition: 1s;
	
}
.switch:hover{
	background-color: rgb(246,250,253);
}
.switch:active{
	background-color: rgb(230,235,243);
}

.loginPart,.regPart{
	display: flex;
	width: 100%;
	flex:1;
	flex-direction: column;
	align-items: center;
	justify-content: space-around;
	transition: 1s;
}


.inp {
  width: 80%;
  height: 45px;
  margin: 4px 0;
  padding-left: 25px;
  padding-right: 25px;
  font-size: 13px;
  letter-spacing: .15px;
  border: none;
  text-align: center;
  outline: none;
  font-family: 'Montserrat', sans-serif;
  background-color: #ecf0f3;
  transition: .25s ease;
  border-radius: 8px;
  box-shadow: inset 2px 2px 4px #d1d9e6, inset -2px -2px 4px #f9f9f9;
}
.inp:focus {
  box-shadow: inset 4px 4px 4px #d1d9e6, inset -4px -4px 4px #f9f9f9;
}

.inp-selects{
	display: flex;
	justify-content: space-around;
	width: 90%;
}
.inp-select,.order-choose{
	padding-left: 3px;
	width: 70px;
	height: 25px;
	margin: 4px 0;
	font-size: 13px;
	letter-spacing: .15px;
	border: none;
	text-align: center;
	outline: none;
	font-family: 'Montserrat', sans-serif;
	background-color: #ecf0f3;
	transition: .25s ease;
	border-radius: 4px;
	box-shadow: inset 2px 2px 4px #d1d9e6, inset -2px -2px 4px #f9f9f9;
}
.subtn{
	width: 110px;
	height: 45px;
	border-radius: 25px;
	font-weight: 700;
	font-size: 14px;
	letter-spacing: 1.15px;
	background-image: linear-gradient(135deg, #8BC6EC 0%, #9599E2 100%);
	
	color: #f9f9f9;
	border: none;
	outline: none;
	cursor: pointer;
	transition: 500ms;
}
.subtn:hover{
	background-image: linear-gradient(135deg, #94d8fc 0%, #a8afff 100%);
	width: 140px;
}
.subtn:active{
	background-image: linear-gradient(135deg, #83c0de 0%, #8d93d6 100%);
}


/*  */


.is-display{
	display: none;
}

/*  */


.footer{
	height: 60px;
	padding-top: 20px; 
	font-size: 14px;
	font-weight: bold;
	text-align: center;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}


/*主页css*/
.come{
	float: right;
	margin-right: 100px;
	margin-top:-30px;
	font-size: 16px;
}
.entrance{
	margin-top: 50px;
}
.btn{
	margin-top: 50px;
	width: 100%;
	height: 100px;
	text-align: center;
	background-color: #DEF;
	border:solid 1px skyblue;
	transition: 500ms;
	outline: none;
	font-size: 20px;
}

.btn:nth-child(1){
	background-color: #cdc6ff;
}

.btn:nth-child(2){
	background-color: #c7d2ff;
}

.btn:nth-child(3){
	background-color: #c2deff;
}

.btn:hover{
	background-color: #EFE7ff;
}

.btn:active{
	background-color: #55aaff;
}

.btn:focus,
.btn:active:focus,
.btn.active:focus,
.btn.focus,
.btn:active.focus,
.btn.active.focus {
	outline: none;
}

.footer a{
	font-size: 8px;
	font-weight: lighter;
	color: #666;
}

@media (max-width: 768px) {
	.bg{
		height:700px;
	}
	.entrance{
		margin-top: 0;
	}
	.come{
		margin-right: 20px;
	}
	.photo{
		display:none;
	}
	
	.logo{
		margin-left: 0px;
		text-align: center;
	}
	
	.welcome{
		align-items: center;
		text-align: center;
		margin-top: 35px;
		font-size: 25px;
	}
	
	.welcome .comment{
		display:none;
	}
	
	.title div:nth-child(1){
		font-size: 16px;
		font-weight: bold;
	}
	.title div:nth-child(2){
		font-size: 48px;
		font-weight: bolder;
	}
	
	.form{
		margin-top: 25px;
	}
	
}
 

@media (min-width: 1200px) {

	.welcome{
		height:80%;
		margin-top: 60px;
		text-align: center;
		margin-top: 20px;
		font-size: 20px;
	}
	
	.welcome{
		width: 45%;
	}
	.welcome .title{
		width: 80%;
		display: flex;
		flex-direction: row;
	}
	.title div{
		font-size: 48px;
		font-weight: bold;
	}
	
}